package com.ktgj.flight.domain;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 机型信息维护对象 plane_type
 * 
 * @author ruoyi
 * @date 2021-08-30
 */
public class PlaneType implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 最小座位数 */
    @Excel(name = "最小座位数")
    private Long minSeat;

    /** 最大座位数 */
    @Excel(name = "最大座位数")
    private Long maxSeat;

    /** 机型大小 */
    @Excel(name = "机型大小")
    private String airlineType;

    /** 宽窄类型 */
    @Excel(name = "宽窄类型")
    private String widthType;

    /** 起飞城市 */
    @Excel(name = "起飞城市")
    private String startCity;

    /** 到达城市 */
    @Excel(name = "到达城市")
    private String endCity;

    /** 航班号 */
    @Excel(name = "航班号")
    private String flightNo;

    /** 起飞时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "起飞时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date departureTime;

    /** 飞机类型名称 */
    @Excel(name = "飞机类型名称")
    private String aircraftName;

    /** 机型编码 */
    @Excel(name = "机型编码")
    private String planeTypeId;

    /** 制造公司 */
    @Excel(name = "制造公司")
    private String planeMaker;

    /** 飞机类型 */
    @Excel(name = "飞机类型")
    private String planeTypeDesc;

    /** 介绍 */
    @Excel(name = "介绍")
    private String planeDesc;

    /** 乘坐人数 */
    @Excel(name = "乘坐人数")
    private String planeCapacity;

    /** 飞机图片 */
    @Excel(name = "飞机图片")
    private String planePic;

    /** 自增主键 */
    private Long id;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    public void setMinSeat(Long minSeat) 
    {
        this.minSeat = minSeat;
    }

    public Long getMinSeat() 
    {
        return minSeat;
    }
    public void setMaxSeat(Long maxSeat) 
    {
        this.maxSeat = maxSeat;
    }

    public Long getMaxSeat() 
    {
        return maxSeat;
    }
    public void setAirlineType(String airlineType) 
    {
        this.airlineType = airlineType;
    }

    public String getAirlineType() 
    {
        return airlineType;
    }
    public void setWidthType(String widthType) 
    {
        this.widthType = widthType;
    }

    public String getWidthType() 
    {
        return widthType;
    }
    public void setStartCity(String startCity) 
    {
        this.startCity = startCity;
    }

    public String getStartCity() 
    {
        return startCity;
    }
    public void setEndCity(String endCity) 
    {
        this.endCity = endCity;
    }

    public String getEndCity() 
    {
        return endCity;
    }
    public void setFlightNo(String flightNo) 
    {
        this.flightNo = flightNo;
    }

    public String getFlightNo() 
    {
        return flightNo;
    }
    public void setDepartureTime(Date departureTime) 
    {
        this.departureTime = departureTime;
    }

    public Date getDepartureTime() 
    {
        return departureTime;
    }
    public void setAircraftName(String aircraftName) 
    {
        this.aircraftName = aircraftName;
    }

    public String getAircraftName() 
    {
        return aircraftName;
    }
    public void setPlaneTypeId(String planeTypeId) 
    {
        this.planeTypeId = planeTypeId;
    }

    public String getPlaneTypeId() 
    {
        return planeTypeId;
    }
    public void setPlaneMaker(String planeMaker) 
    {
        this.planeMaker = planeMaker;
    }

    public String getPlaneMaker() 
    {
        return planeMaker;
    }
    public void setPlaneTypeDesc(String planeTypeDesc) 
    {
        this.planeTypeDesc = planeTypeDesc;
    }

    public String getPlaneTypeDesc() 
    {
        return planeTypeDesc;
    }
    public void setPlaneDesc(String planeDesc) 
    {
        this.planeDesc = planeDesc;
    }

    public String getPlaneDesc() 
    {
        return planeDesc;
    }
    public void setPlaneCapacity(String planeCapacity) 
    {
        this.planeCapacity = planeCapacity;
    }

    public String getPlaneCapacity() 
    {
        return planeCapacity;
    }
    public void setPlanePic(String planePic) 
    {
        this.planePic = planePic;
    }

    public String getPlanePic() 
    {
        return planePic;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("createTime", getCreateTime())
            .append("minSeat", getMinSeat())
            .append("maxSeat", getMaxSeat())
            .append("airlineType", getAirlineType())
            .append("widthType", getWidthType())
            .append("startCity", getStartCity())
            .append("endCity", getEndCity())
            .append("flightNo", getFlightNo())
            .append("departureTime", getDepartureTime())
            .append("aircraftName", getAircraftName())
            .append("planeTypeId", getPlaneTypeId())
            .append("planeMaker", getPlaneMaker())
            .append("planeTypeDesc", getPlaneTypeDesc())
            .append("planeDesc", getPlaneDesc())
            .append("planeCapacity", getPlaneCapacity())
            .append("planePic", getPlanePic())
            .append("id", getId())
            .toString();
    }
}
